package com.cloudweb.oa.api;

import com.alibaba.fastjson.JSONObject;

import java.sql.SQLException;

public interface IOpScriptService {

    void opInboundNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    void opOutboundNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    JSONObject opOutboundNodePreconditionEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    JSONObject opTransferNodePreconditionEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    void opTransferNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    void opAuditNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    void opRepairNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    void purchaseInboundNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    JSONObject saleOutboundNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    void saleOutboundNodePreconditionEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;
}
